<el-form ref="form" :model="form" :rules="rules" label-width="140px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="系统外数据类型" prop="GWDG001">
                <el-select v-model="form.GWDG001" clearable>
                    <el-option v-for="item in selectOptions.crm_gwdc007_gwdg001" :label="item.GWDE004" :value="item.GWDE003"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="日期"  prop="GWDG002">
                <el-date-picker
                        type="date"
                        v-model="form.GWDG002"
                        value-format="yyyy-MM-dd"
                        style="width: 100%">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="经销商" prop="GWDG005_NAME">
                <el-input v-model="form.GWDG005_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openGwdg005" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="金额" prop="GWDG004">
                <el-input-number v-model="form.GWDG004" :min="0" style="width: 100%"></el-input-number>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="品类">
                <el-input v-model="form.GWDG003_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openGwdg003" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwdc007_edit"], $.noop);
</script>
